/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Views;

/**
 *
 * @author Joshua King
 */
public class ViewManBar extends ViewUserBar {
    private ViewDisplayEditFlight editFlightPanel = GUIFactory.makeViewDisplayEditFlight();
    private ViewDisplayCreateFlight makeFlightPanel = GUIFactory.makeViewDisplayMakeFlight();
    private ViewDisplayDeleteFlight deleteFlightPanel = GUIFactory.makeViewDisplayDeleteFlight();
    private ViewDisplayEditAirport editAirportPanel = GUIFactory.makeViewDisplayEditAirport();
    private ViewDisplayCreateAirport makeAirportPanel = GUIFactory.makeViewDisplayMakeAirport();
    private ViewDisplayDeleteAirport deleteAirportPanel = GUIFactory.makeViewDisplayDeleteAirport();
    private ViewDisplayAddPromotion addPromotionPanel = GUIFactory.makeViewDisplayAddPromotion();
    
    public ViewManBar() {
        add(editFlightPanel);
        add(makeFlightPanel);
        add(deleteFlightPanel);
        add(editAirportPanel);
        add(makeAirportPanel);
        add(deleteAirportPanel);
        add(addPromotionPanel);
        validate();
    }
}
